<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.w3.org/1999/xhtml">
<head th:replace="/layout :: htmlhead" th:with="title='后台管理'">
</head>
<body>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>初始化系统</legend>
</fieldset>

<form class="layui-form" action="">
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">查验区序号</label>
            <div class="layui-input-inline">
                <input type="hidden" name="porgan" value="-1">
                <input type="text" name="cyqxh" lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-inline">
            <label class="layui-form-label">查验区名称</label>
            <div class="layui-input-inline">
                <input type="text" name="name" lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">机构简称</label>
            <div class="layui-input-inline">
                <input type="text" name="cyjgjc" lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-inline">
            <label class="layui-form-label">机构类型</label>
            <div class="layui-input-inline">
                <select name="organtype">
                    <option value="0">0:省级管理机构</option>
                    <option value="1">1:市级管理机构</option>
                    <option value="2">2:县级管理机构</option>
                    <option value="3">3:查验单位</option>
                </select>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">排序</label>
            <div class="layui-input-inline">
                <input type="number" name="seq" lay-verify="number" placeholder="排序" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">菜单图标</label>
            <div class="layui-input-inline">
                <input type="text" name="icon" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">机构经度(°)</label>
            <div class="layui-input-inline">
                <input type="text" name="lng" placeholder="如：0.000000" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">机构纬度(°)</label>
            <div class="layui-input-inline">
                <input type="text" name="lat" placeholder="如：0.000000" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">机构地址</label>
        <div class="layui-input-block" style="width: 41%">
            <input type="text" name="address" placeholder="机构地址" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">视频下载</label>
        <div class="layui-input-block" style="width: 41%">
            <select name="lxxzpz" lay-filter="lxxzpz">
                <option value="0">不下载</option>
                <option value="1">仅通道视频</option>
                <option value="2">仅执法记录仪视频</option>
                <option value="3">全部下载</option>
            </select>
        </div>
    </div>
    <div id="zdfwqdzDiv" type="hidden"  class="layui-form-item">
        <label class="layui-form-label">IIS虚拟路径</label>
        <div class="layui-input-block" style="width: 41%">
            <input type="text" name="zdfwqdz" placeholder="IIS虚拟路径地址：如http://172.24.1.193/hikideo/" autocomplete="off"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">授权方式</label>
        <div class="layui-input-block" style="width: 41%">
            <select name="sqfs" style="width: 41%">
                <option value="1">临时授权（128位）</option>
                <option value="0">永久授权（32位）</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">授权码</label>
        <div class="layui-input-block" style="width: 41%">
            <input type="text" name="sqm" lay-verify="required" placeholder="授权码" autocomplete="off"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="button" class="layui-btn" lay-submit="" lay-filter="subInit">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
<script th:src="@{/js/homePage/initialize.js}"></script>
</body>
</html>